import type { AppRouteModule } from '@/router/types'

import { LAYOUT } from '@/router/constant'

const elementExtraction: AppRouteModule = {
  path: '/elementExtraction',
  name: 'elementExtraction',
  component: LAYOUT,
  redirect: '/elementExtraction/index',
  meta: {
    hideChildrenInMenu: true,
    svg: 'elementExtraction',
    title: '要素提取',
    orderNo: 2,
  },
  children: [
    {
      path: 'index',
      name: 'elementExtractionPage',
      component: () => import('@/views/elementExtraction/index.vue'),
      meta: {
        title: '要素提取',
        svg: 'elementExtraction',
        hideMenu: true,
      },
    },
  ],
}

export default elementExtraction
